package org.jeecg.modules.demo.jxcx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.jxcx.mapper.TbPayOrdidMapper;
import org.jeecg.modules.demo.jxcx.po.TbPayOrdid;
import org.jeecg.modules.demo.jxcx.service.ITbPayOrdidService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2023-08-29
 */
@Service
public class TbPayOrdidServiceImpl extends ServiceImpl<TbPayOrdidMapper, TbPayOrdid> implements ITbPayOrdidService {

    @Autowired
    private TbPayOrdidMapper tbPayOrdidMapper;


    @Override
    public void savexiadandata(String outTradeNo,String data,String state) {
        tbPayOrdidMapper.savexiadandata(outTradeNo,data,state);
    }

    @Override
    public String selectstateByOutTradeNo(String transactionId) {
        return tbPayOrdidMapper.selectstateByOutTradeNo(transactionId);
    }
    @Override
    public void updatestate(String state, String transactionId) {
        tbPayOrdidMapper.updatestate(state,transactionId);
    }
    @Override
    public void savepayjson(String out_trade_no,String json) {
        tbPayOrdidMapper.savepayjson(out_trade_no,json);
    }


    @Override
    public void updateRefundjson(String out_trade_no, String data) {
        tbPayOrdidMapper.updateRefundjson(out_trade_no,data);
    }
    @Override
    public String selectdataByOutTradeNo(String out_trade_no) {
        return tbPayOrdidMapper.selectdataByOutTradeNo(out_trade_no);
    }
    @Override
    public void savedxyzm(String mobile, String code, String state) {
        tbPayOrdidMapper.savedxyzm(mobile,code,state);
    }

    @Override
    public String selectMobile(String mobile) {
        return tbPayOrdidMapper.selectMobile(mobile);
    }

    @Override
    public void updatedxyzm(String mobile, String code, String state) {
        tbPayOrdidMapper.updatedxyzm(mobile,code,state);
    }

    @Override
    public String selectCodeByMobile(String mobile, String code) {
        return tbPayOrdidMapper.selectCodeByMobile(mobile,code);
    }
}
